﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace T4Template.Model
{
    public class ClassModel
    {
        public int Id { get; set; }
        public string Name { get; set; }
        private List<AttributeModel> _attributes;

        public ClassModel()
        {
            _attributes = new List<AttributeModel>();
        }

        public void AddAttribute(AttributeModel attribute)
        {
            _attributes.Add(attribute);
        }

        public List<AttributeModel> GetAttributes()
        {
            return _attributes;
        }
    }
}
